home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / lzw4c12.zip / LZW4C.H < prev    next >
Text File  |  1992-11-08  |  460b  |  25 lines

  1. /* Prototypes for LZW4C */
  2.  
  3. #ifndef FILE
  4. #include <stdio.h>
  5. #endif
  6.  
  7. #if 1
  8. int InitLZW(char *(*Alloc)() );
  9. int TermLZW(int (*Free)() );
  10. int Compress(int (*Reader)(), int (*Writer)());
  11. int Expand(int (*Reader)(), int (*Writer)());
  12. #else
  13. int InitLZW();
  14. int TermLZW();
  15. int Compress();
  16. int Expand();
  17. #endif
  18.  
  19. /* error codes */
  20.  
  21. #define EXPANSION_ERROR  -1
  22. #define CANNOT_ALLOCATE  -2
  23. #define INTERNAL_ERROR   -3
  24. #define NOT_INITIALIZED  -4
  25.